package com.nineclock.system.dto;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel("企业通讯录信息DTO")
public class SysCompanyContactConfigDTO implements Serializable {

    @ApiModelProperty("主键ID")
    private Long id;

    @ApiModelProperty("字段名称")
    private String name;

    @ApiModelProperty("类型-是否是动态字段")
    private String type;

    @ApiModelProperty("字段类型")
    private String fieldType;

    @ApiModelProperty("状态-控制是否展示")
    private Short status;

    @ApiModelProperty("企业ID")
    private Long companyId;

}